﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace D.Medicalcare.ErrorCode
{
    /// <summary>
    /// 分页返回结果类
    /// </summary>
    /// <typeparam name="T">实体</typeparam>
    public class APIPaging<T> : APIResult<T>
    {
        /// <summary>
        /// 总条数
        /// </summary>
        public int TotalCount { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int PageCount { get; set; }
        /// <summary>
        /// 数据列表
        /// </summary>
        public List<T> Data { get; set; }

        /// 总页数
        /// </summary>
        public int Count { get; set; }
    }
}
